GTK supports webm playback, which means a backend should always be
compiled.
The ffmpeg backend however is incomplete (no audio) and as such, we
don't want people to end up with it accidentally.
Since we don't want to drag an entire gstreamer build into our ci
on MacOs or msvc, explicitly disable the gstreame media backend there.
- meson -Dx11-backend=false
-Dbroadway-backend=true
-Dmacos-backend=true
+ -Dmedia-gstreamer=disabled
-Dintrospection=disabled
-Dcpp_std=c++11
-Dpixman:tests=disabled
:: FIXME: make warnings fatal
pip3 install --upgrade --user meson==0.56.2 || goto :error
-meson _build || goto :error
+meson -Dmedia-gstreamer=disabled _build || goto :error
ninja -C _build || goto :error
goto :EOF
description : 'Enable the macOS gdk backend (only when building on macOS)')
# Media backends
+# For distros: GTK guarantees support for WebM video (VP8 and VP9), so a supported build
+# should provide that.
option('media-ffmpeg',
type: 'feature',
- value: 'auto',
- description : 'Build the ffmpeg media backend')
+ value: 'disabled',
+ description : 'Build the experimental ffmpeg media backend')
option('media-gstreamer',
type: 'feature',
- value: 'auto',
+ value: 'enabled',
description : 'Build the gstreamer media backend')
# Print backends